package hxy.ecnu.dao;

import java.util.ArrayList;

import org.springframework.stereotype.Repository;

import hxy.ecnu.model.User;

/**
 * 描述：用户Dao
 * 
 * @author Ay
 * @create 2018/06/30
 **/
@Repository
public interface UserDao {
	
	User find(String id);
	
	ArrayList<User> findAll();

	boolean insert(User user);

	void delete(String id);

	int deleteUserById(String id);
}